home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
c_lang
/
getargs.h
< prev
next >
Wrap
Text File
|
1985-09-15
|
391b
|
15 lines
/* getargs.h - typedefs and defines needed for getargs */
#define INTEGER 0
#define BOOLEAN 1
#define CHARACTER 2
#define STRING 3
#define PROC 4
typedef struct
{ unsigned arg ; /* command line switch */
unsigned type ; /* variable type (of those #defined above) */
int *variable ; /* pointer to variable */
char *errmsg ; /* pointer to error message */
} ARG;